﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ThiefRun.Util.Graph
{
    public class Node<D>
    {
        #region Constants
        // Constants
        #endregion Constants

        #region Properties
        // Properties
        protected D data;
        public float costSoFar;
        public float estimatedTotalCost;
        #endregion Properties

        #region Computed Properties
        // Computed Propertiess
        public D Data { get { return data; } }
        #endregion

        #region Methods
        // Methods

        /// <summary>
        /// Initialize the Node object.
        /// </summary>
        public Node(D data)
        {
            this.data = data;
            this.costSoFar = 0;
            this.estimatedTotalCost = 1;
        }

        #endregion Methods
    }
}
